import { ColumnProps } from '~/library/components/ProTable/interface'
import { Information } from '~/src/api/interface/information'

// 表格配置项
export const brandColumns: ColumnProps<Information.BrandList>[] = [
  { type: 'selection', width: 80 },
  { type: 'index', label: '序号', width: 80 },
  { sortable: true, prop: 'name', label: '品牌名称', minWidth: 160, align: 'left', search: { el: 'input' } },
  {
    sortable: true,
    prop: 'isShow',
    label: '是否显示',
    minWidth: 100,
  },
  { sortable: true, prop: 'createTime', label: '创建时间', minWidth: 180 },
  { prop: 'operation', label: '操作', width: 220, fixed: 'right' },
]
